// 接口
interface p {
  name: string
  age: number
}
interface p2 extends p {
  sex: string
  height: number
}

const person: Partial<p> = {
  name: '张三',
}

const person1: p2 = {
  name: '李四',
  age: 18,
  sex: '男',
  height: 180,
}

export { person, person1 }
